﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Invoice.aspx.cs" Inherits="admin_Invoice"  MasterPageFile="~/admin/MasterPage2.master" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>


<asp:Content ID="Content1" runat="server" 
    contentplaceholderid="ContentPlaceHolder1" >
    
    <table width="1050" cellpadding="0" cellspacing="0">
  
        <tr >
            <td bgcolor="#FA7E02" class="letracuadroscolores" height="40">&nbsp;Invoice
          
              <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
        </asp:ToolkitScriptManager>

            </td>
        </tr>
        
    <tr>
        <td class="style6">   
           
                   
                        <table width="1100" align="left" bgcolor="White">
                           <tr>
                           <td>
                                
                                                        <asp:DropDownList ID="cb_searchby" runat="server" CssClass="txtForm" 
                                                            Width="170px" Visible="False">
                                                            <asp:ListItem>Select One</asp:ListItem>
                                                            <asp:ListItem Value="driver">Driver</asp:ListItem>
                                                            <asp:ListItem Value="processor">Processor</asp:ListItem>
                                                            <asp:ListItem Value="qc">QC</asp:ListItem>
                                                            <asp:ListItem Value="photos">Photos</asp:ListItem>
                                                            <asp:ListItem Value="client">Client</asp:ListItem>
                                                        </asp:DropDownList>
                                
                                                                </td>
                           </tr>
                           <tr><td>
                                    <asp:TabContainer ID="TabContainer1" runat="server" ></asp:TabContainer>
                                        </td></tr>
                                <tr align="center">
                                    <td >
                                        
                                        <asp:Panel ID="pprocessor" runat="server" Width="500px" HorizontalAlign="Center" CssClass="popup">
                                            <table width="500px" align="center">
                                                <tr>
                                                    <td class="style5">
                                                        
                                                    </td>
                                                    <td class="style3">
                                                        &nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td class="style5">
                                                        <asp:Label ID="ltype" runat="server" Text="Invoice Type"></asp:Label>
                                                    </td>
                                                    <td class="style3">
                                                        <asp:DropDownList ID="cb_searchby4" runat="server" CssClass="txtForm" 
                                                            Width="170px">
                                                            <asp:ListItem Value="processor">Processor</asp:ListItem>
                                                        </asp:DropDownList>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="style4">
                                                        <asp:Label ID="lb_startdate" runat="server" Text="Start Date"></asp:Label>
                                                    </td>
                                                    <td class="style3">
                                                        <asp:TextBox ID="tb_stardatefee" runat="server" CssClass="txtForm" 
                                                            Width="168px"></asp:TextBox>
                                                        <asp:CalendarExtender ID="tb_stardatefee_CalendarExtender" runat="server" Format="MM/dd/yyyy"
                                                            TargetControlID="tb_stardatefee" Enabled="True" >
                                                        </asp:CalendarExtender>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="style4">
                                                        <asp:Label ID="lb_enddate" runat="server" Text="End Date"></asp:Label>
                                                    </td>
                                                    <td class="style3">
                                                        <asp:TextBox ID="tb_enddatefee" runat="server" CssClass="txtForm" Width="168px"></asp:TextBox>
                                                        <asp:CalendarExtender ID="tb_enddatefee_CalendarExtender" runat="server" Format="MM/dd/yyyy"
                                                            TargetControlID="tb_enddatefee" Enabled="True">
                                                        </asp:CalendarExtender>
                                                    </td>
                                                </tr>
                                               
                                                <tr>
                                                    <td class="style4"><asp:Panel ID="pproc1"  runat="server">
                                                        <asp:Label ID="Label1" runat="server" Text="Processor"></asp:Label>
                                                        </asp:Panel>
                                                    </td>
                                                    <td><asp:Panel ID="pproc2"  runat="server" style="text-align: left">
                                                        <asp:DropDownList ID="cb_processor" runat="server" CssClass="txtForm" 
                                                            Height="20px" Width="170px">
                                                        </asp:DropDownList></asp:Panel>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        
                                                    </td>
                                                    <td>
                                                        
                                                    </td>
                                                </tr>
                                                 
                                                
                                                <tr align="right">
                                                    <td class="style4">
                                                          &nbsp;</td>
                                                    <td >
                                                        <table cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td>
                                                                    <asp:LinkButton ID="lnk_searchfee" runat="server" CssClass="button2_ok" 
                                                                        ForeColor="White" OnClick="LinkButton1_Click"><span>Search</span></asp:LinkButton>
                                                                </td>
                                                                <td>
                                                                    &nbsp;</td>
                                                                
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="style4">
                                                        &nbsp;</td>
                                                    <td class="style3">
                                                        &nbsp;</td>
                                                </tr>
                                            </table>
                                        </asp:Panel>
                                       
                                        <asp:Panel ID="pdriver" runat="server" Width="500px" HorizontalAlign="Center" CssClass="popup">
                                            <table width="500px" align="center">
                                                <tr>
                                                    <td class="style5"></td>
                                                    <td class="style3">&nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td class="style5">
                                                        <asp:Label ID="ltype0" runat="server" Text="Invoice Type"></asp:Label>
                                                    </td>
                                                    <td class="style3">
                                                        <asp:DropDownList ID="cb_searchby0" runat="server" CssClass="txtForm" 
                                                            Width="170px">
                                                            <asp:ListItem Value="driver">Driver</asp:ListItem>
                                                        </asp:DropDownList>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="style5">
                                                        <asp:Label ID="lb_startdate0" runat="server" Text="Start Date"></asp:Label>
                                                    </td>
                                                    <td class="style3">
                                                        
                                                        <asp:TextBox ID="tb_stardatefee0" runat="server" CssClass="txtForm" 
                                                            Width="168px"></asp:TextBox>
                                                        <asp:CalendarExtender ID="tb_stardatefee0_CalendarExtender" runat="server" 
                                                            Enabled="True" Format="MM/dd/yyyy" TargetControlID="tb_stardatefee0">
                                                        </asp:CalendarExtender>
                                                        
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="style5">
                                                        <asp:Label ID="lb_enddate0" runat="server" Text="End Date"></asp:Label>
                                                    </td>
                                                    <td class="style3">
                                                        <asp:TextBox ID="tb_enddatefee0" runat="server" CssClass="txtForm" 
                                                            Width="168px"></asp:TextBox>
                                                        <asp:CalendarExtender ID="tb_enddatefee0_CalendarExtender" runat="server" 
                                                            Enabled="True" Format="MM/dd/yyyy" TargetControlID="tb_enddatefee0">
                                                        </asp:CalendarExtender>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="style5">
                                                        <asp:Panel ID="pdriver1" runat="server" style="text-align: left">
                                                            Driver</asp:Panel>
                                                    </td>
                                                    <td class="style3">
                                                        <asp:Panel ID="pdriver2" runat="server" style="text-align: left">
                                                            <asp:DropDownList ID="cb_driver" runat="server" CssClass="txtForm" 
                                                                Height="20px" Width="170px">
                                                            </asp:DropDownList>
                                                        </asp:Panel>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="style5"></td>
                                                    <td class="style3">&nbsp;</td>
                                                </tr>
                                                <tr align="right">
                                                    <td class="style4"><asp:CheckBox ID="uiChbFee" runat="server"
                                                 Text="Driver Fee" /> </td>
                                                    <td >
                                                        <table cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td>
                                                                    <asp:LinkButton ID="lnk_searchfee0" runat="server" CssClass="button2_ok" 
                                                                        ForeColor="White" OnClick="lnk_searchfee0_Click"><span>Search</span></asp:LinkButton>
                                                                </td>
                                                                <td>&nbsp;</td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                        </asp:Panel>

                                        <asp:Panel ID="pqc" runat="server" Width="500px" HorizontalAlign="Center" CssClass="popup">
                                            <table width="500px" align="center">
                                                <tr>
                                                    <td class="style5"></td>
                                                    <td class="style3">&nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td class="style5">
                                                        <asp:Label ID="ltype1" runat="server" Text="Invoice Type"></asp:Label>
                                                    </td>
                                                    <td class="style3">
                                                        <asp:DropDownList ID="cb_searchby1" runat="server" CssClass="txtForm" 
                                                            Width="170px">
                                                            <asp:ListItem Value="qc">QC</asp:ListItem>
                                                        </asp:DropDownList>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="style5">
                                                        <asp:Label ID="lb_startdate1" runat="server" Text="Start Date"></asp:Label>
                                                    </td>
                                                    <td class="style3">
                                                        <asp:TextBox ID="tb_stardatefee1" runat="server" CssClass="txtForm" 
                                                            Width="168px"></asp:TextBox>
                                                        <asp:CalendarExtender ID="tb_stardatefee1_CalendarExtender" runat="server" 
                                                            Enabled="True" Format="MM/dd/yyyy" TargetControlID="tb_stardatefee1">
                                                        </asp:CalendarExtender>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="style5">
                                                        <asp:Label ID="lb_enddate1" runat="server" Text="End Date"></asp:Label>
                                                    </td>
                                                    <td class="style3">
                                                        <asp:TextBox ID="tb_enddatefee1" runat="server" CssClass="txtForm" 
                                                            Width="168px"></asp:TextBox>
                                                        <asp:CalendarExtender ID="tb_enddatefee1_CalendarExtender" runat="server" 
                                                            Enabled="True" Format="MM/dd/yyyy" TargetControlID="tb_enddatefee1">
                                                        </asp:CalendarExtender>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="style5">
                                                        <asp:Panel ID="pqc1" runat="server" style="text-align: left">QC</asp:Panel>
                                                    </td>
                                                    <td class="style3">
                                                        <asp:Panel ID="pqc2" runat="server" style="text-align: left">
                                                            <asp:DropDownList ID="cb_qc" runat="server" CssClass="txtForm" Height="20px" Width="170px">
                                                            </asp:DropDownList>
                                                        </asp:Panel>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="style5"></td>
                                                    <td class="style3"></td>
                                                </tr>
                                                <tr align="right">
                                                    <td class="style4">&nbsp;</td>
                                                    <td >
                                                        <table cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td>
                                                                    <asp:LinkButton ID="lnk_searchfee1" runat="server" CssClass="button2_ok" 
                                                                        ForeColor="White" OnClick="lnk_searchfee1_Click"><span>Search</span></asp:LinkButton>
                                                                </td>
                                                                <td>&nbsp;</td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                        </asp:Panel>

                                        <asp:Panel ID="pphotos" runat="server" Width="500px" HorizontalAlign="Center" CssClass="popup">
                                            <table width="500px" align="center">
                                                <tr>
                                                    <td class="style5"></td>
                                                    <td class="style3">&nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td class="style5">
                                                        <asp:Label ID="ltype2" runat="server" Text="Invoice Type"></asp:Label>
                                                    </td>
                                                    <td class="style3">
                                                        <asp:DropDownList ID="cb_searchby2" runat="server" CssClass="txtForm" 
                                                            Width="170px">
                                                            <asp:ListItem Value="photos">Photos</asp:ListItem>
                                                        </asp:DropDownList>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="style5">
                                                        <asp:Label ID="lb_startdate2" runat="server" Text="Start Date"></asp:Label>
                                                    </td>
                                                    <td class="style3">
                                                        <asp:TextBox ID="tb_stardatefee2" runat="server" CssClass="txtForm" 
                                                            Width="168px"></asp:TextBox>
                                                        <asp:CalendarExtender ID="tb_stardatefee2_CalendarExtender" runat="server" 
                                                            Enabled="True" Format="MM/dd/yyyy" TargetControlID="tb_stardatefee2">
                                                        </asp:CalendarExtender>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="style5">
                                                        <asp:Label ID="lb_enddate2" runat="server" Text="End Date"></asp:Label>
                                                    </td>
                                                    <td class="style3">
                                                        <asp:TextBox ID="tb_enddatefee2" runat="server" CssClass="txtForm" 
                                                            Width="168px"></asp:TextBox>
                                                        <asp:CalendarExtender ID="tb_enddatefee2_CalendarExtender" runat="server" 
                                                            Enabled="True" Format="MM/dd/yyyy" TargetControlID="tb_enddatefee2">
                                                        </asp:CalendarExtender>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="style5">
                                                        <asp:Panel ID="Pphotos1" runat="server" style="text-align: left">Photos</asp:Panel>
                                                    </td>
                                                    <td class="style3">
                                                        <asp:Panel ID="Pphotos2" runat="server" style="text-align: left">
                                                            <asp:DropDownList ID="cb_photos" runat="server" CssClass="txtForm" Height="20px" 
                                                                Width="170px">
                                                            </asp:DropDownList>
                                                        </asp:Panel>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="style5"></td>
                                                    <td class="style3"></td>
                                                </tr>
                                                <tr align="right">
                                                    <td class="style4">&nbsp;</td>
                                                    <td >
                                                        <table cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td>
                                                                    &nbsp;</td>
                                                                <td>
                                                                    <asp:LinkButton ID="lnk_searchfee2" runat="server" CssClass="button2_ok" 
                                                                        ForeColor="White" OnClick="lnk_searchfee2_Click"><span>Search</span></asp:LinkButton>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                        </asp:Panel>

                                        <asp:Panel ID="pnlclient" runat="server" Width="500px" HorizontalAlign="Center" CssClass="popup">
                                            <table width="500px" align="center">
                                                <tr>
                                                    <td class="style5"></td>
                                                    <td class="style3">&nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td class="style5">
                                                        <asp:Label ID="ltype3" runat="server" Text="Invoice Type"></asp:Label>
                                                    </td>
                                                    <td class="style3">
                                                        <asp:DropDownList ID="cb_searchby3" runat="server" CssClass="txtForm" 
                                                            Width="170px">
                                                            <asp:ListItem Value="client">Client</asp:ListItem>
                                                        </asp:DropDownList>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="style5">
                                                        <asp:Label ID="lb_startdate3" runat="server" Text="Start Date"></asp:Label>
                                                        *</td>
                                                    <td class="style3">
                                                        <asp:TextBox ID="tb_stardatefee3" runat="server" CssClass="txtForm" 
                                                            Width="168px"></asp:TextBox>
                                                        <asp:CalendarExtender ID="tb_stardatefee3_CalendarExtender" runat="server" 
                                                            Enabled="True" Format="MM/dd/yyyy" TargetControlID="tb_stardatefee3">
                                                        </asp:CalendarExtender>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="style5">
                                                        <asp:Label ID="lb_enddate3" runat="server" Text="End Date"></asp:Label>
                                                        *</td>
                                                    <td class="style3">
                                                        <asp:TextBox ID="tb_enddatefee3" runat="server" CssClass="txtForm" 
                                                            Width="168px"></asp:TextBox>
                                                        <asp:CalendarExtender ID="tb_enddatefee3_CalendarExtender" runat="server" 
                                                            Enabled="True" Format="MM/dd/yyyy" TargetControlID="tb_enddatefee3">
                                                        </asp:CalendarExtender>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="style5">
                                                        Type</td>
                                                    <td class="style3">
                                                        <asp:DropDownList ID="cb_typeclient" runat="server" CssClass="txtForm" 
                                                            Width="170px">
                                                            <asp:ListItem>All</asp:ListItem>
                                                            <asp:ListItem>Paid</asp:ListItem>
                                                            <asp:ListItem>Unpaid</asp:ListItem>
                                                            <asp:ListItem>Cancel</asp:ListItem>
                                                        </asp:DropDownList>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="style5">
                                                        <asp:Panel ID="Pclient1" runat="server" style="text-align: left" >
                                                            Client <br /> </asp:Panel>
                                                    </td>
                                                    <td class="style3" valign="top">
                                                        <asp:Panel ID="Pclient2" runat="server" style="text-align: left">
                                                            <asp:DropDownList ID="cb_client" runat="server" CssClass="txtForm" Height="20px" 
                                                                Width="170px">
                                                            </asp:DropDownList>
                                                        </asp:Panel>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="style5">
                                                     <asp:Panel ID="pcomp1" runat="server">
                                                        Company
                                                        </asp:Panel>
                                                        </td>
                                                    <td class="style3" valign="top">
                                                     <asp:Panel ID="pcomp2" runat="server">
                                                        <asp:DropDownList ID="cb_company" runat="server" CssClass="txtForm" 
                                                            Height="20px" Width="170px">
                                                        </asp:DropDownList>
                                                        </asp:Panel>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="style5">
                                                        <asp:Panel ID="pacc1" runat="server">
                                                            Account</asp:Panel>
                                                    </td>
                                                    <td class="style3">
                                                        <asp:Panel ID="pacc2" runat="server">
                                                            <asp:DropDownList ID="cb_acclient" runat="server" CssClass="txtForm" 
                                                                Width="170px">
                                                            </asp:DropDownList>
                                                        </asp:Panel>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="style5">
                                                        &nbsp;</td>
                                                    <td class="style3">
                                                        <asp:Label ID="lberror" runat="server" CssClass="letraRojaValidacion"></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr align="right">
                                                    <td class="style4">&nbsp;</td>
                                                    <td >
                                                        <table cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td>
                                                                    <span class="style7">(*) </span><span class="style9">Search by Due Date</span><asp:LinkButton ID="lnk_searchfee3" runat="server" CssClass="button2_ok" 
                                                                        ForeColor="White" OnClick="lnk_searchfee3_Click"><span>Search</span></asp:LinkButton>
                                                                </td>
                                                                <td>&nbsp;</td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                        </asp:Panel>                                       
                                        
                                    </td>
                                </tr>
                           
                            <tr>
                                <td ></td>
                            </tr>
                           
                            <tr align="center">
                                <td align="center">
                                <asp:Panel ID="PClient" runat="server" Width="700px" align="center">
                                    <table width="700px" style="text-align:center">
                                  <tr>
                                        <td align="left">
                                            <asp:CheckBox ID="chkall" runat="server" AutoPostBack="True" 
                                                oncheckedchanged="chkall_CheckedChanged" Text="All" />
                                        </td>
                                       </tr>
                                    <tr align="center">
                                    <td align="center">
                                        <asp:GridView ID="gv_client" runat="server" 
                                            onrowdatabound="gv_client_RowDataBound" Width="700px" 
                                             Caption="<table border='0' width='100%' cellpadding='0' cellspacing='0' class='accordion'><tr><td>Client Orders</td></tr></table>" >
                                            <Columns>
                                               <asp:TemplateField> 
                                                <ItemTemplate>
                                                    <asp:CheckBox id="CHK1" runat="server"  />
                                                    <asp:Label ID="lbOrder" runat="server" Text='<%# Eval("order_id").ToString()%>' Visible="false" />
                                                     <asp:Label ID="lbOrdernum" runat="server" Text='<%# Eval("order_num").ToString()%>' Visible="false" />
                                                     <asp:Label ID="lbFee" runat="server" Text='<%# Eval("ord_processor").ToString()%>' Visible="false" />
                                                     <asp:Image ID= "image" runat="server"  ImageUrl="~/img/checkdone.png"/>
                                                </ItemTemplate>
                                               </asp:TemplateField> 
                                               
                                            </Columns>
                                        </asp:GridView>
                                        </td>
                                        </tr>
                                      <tr>
                                        <td>
                                            <asp:LinkButton ID="LinkButton2" runat="server" CssClass="button2_ok" 
                                                                        ForeColor="White" onclick="LinkButton2_Click" ><span>Pay</span></asp:LinkButton>
                                            <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>
                                            <asp:LinkButton ID="lnk_generate" runat="server" CssClass="button2_ok" 
                                                                        ForeColor="White" onclick="LinkButton3_Click" 
                                                Visible="False"  ><span>Generate Invoice</span></asp:LinkButton>
                                            <asp:ImageButton ID="bt_hide" runat="server" ImageUrl="~/blank.gif" />
                                        </td>
                                       </tr>
                                        <tr align="center">
                                            <td align="center">
                                                
<asp:Panel ID="P_viewcart" runat="server" style="margin-top: 0px" 
                                                              Width="100%" HorizontalAlign="Center">
                                                                        <form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" 
                                                                        >
                                                                        <input type="hidden" name="business" value="UFFECEVK5TH58"/>
                                                                        <input type="hidden" name="cmd" value="_cart"/>
                                                                        <input type="hidden" name="display" value="1"/>
                                                                        <input type="image" src="../blank.gif"  name="submit" alt="PayPal - The safer, easier way to pay online!"./>
                                                                        <input type='hidden' name='lc' value='en'/>
                                                                        </form>
                                                                        <form action="https://www.paypal.com/cgi-bin/webscr" method="post" >
                                                                        <!--form   action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post"-->
                                                                        <!--input type="hidden" name="business" value="UFFECEVK5TH58"/-->
                                                                        <input type="hidden" name="business" value="UC5TPPY3Z8XBN"/>
                                                                        <input type="hidden" name="cmd" value="_cart"/>
                                                                        <input type="hidden" name="display" value="1"/>
                                                                        <input type="hidden" name="lc" value="US"/>
                                                                        <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/view_cart_02.gif"  name="submit" alt="PayPal - The safer, easier way to pay online!"./>
                                                                        </form>
                                                                    </asp:Panel></td>
                                        </tr>
                                       <tr>
            <td>
                <asp:Panel ID="p_hide" runat="server" CssClass="popup" Width="300px">
                    <table width="300">
                    <tr>
                            <td align="center">
                                <asp:Image ID="Image2" runat="server" 
                                    ImageUrl="https://www.paypalobjects.com/en_US/i/bnr/horizontal_solution_PPeCheck.gif" 
                                    style="text-align: center" />
                            </td>
                        </tr>
                        <tr>
                            <td class="azul" 
                                
                                style="font-family: 'Arial Narrow'; font-size: large; font-weight: bold; color: #0066FF; text-align: center;">
                                The safer, easier, way to pay
                            </td>
                        </tr>
                        <tr>
                            <td class="letraAzul14" valign="top">
                                &nbsp;</td>
                        </tr>
                        <tr>
                            <td>
                                
                                    <asp:Label ID="lbuy" runat="server"></asp:Label>
                              
                                </td>
                         
                        </tr>
                        
                        <tr>
                            <td>
                                <asp:LinkButton ID="lnk_cancelpaid0" runat="server" CssClass="button2_ok" 
                                    ForeColor="White" onclick="lnk_cancelpaid_Click"><span>Cancel</span></asp:LinkButton>
                            </td>
                        </tr>
                        
                    </table>
                </asp:Panel>
                <asp:ModalPopupExtender ID="p_hide_ModalPopupExtender" runat="server"  PopupControlID= "p_hide"
                    DynamicServicePath="" Enabled="True" TargetControlID="bt_hide" BackgroundCssClass="FondoAplicacion">
                </asp:ModalPopupExtender>
            </td>
        </tr>
                                        </table>
                                    </asp:Panel>
                                </td>
                            </tr>
                            
                             
                                <tr>
                                    <td align="center">
                                        <asp:Panel ID="pnlDelete" runat="server" CssClass="popup" Width="333px" 
                                            Visible="False">
                                            <table width="300">
                                                <tr>
                                                    <td class="stackedTabTitle" colspan="4">
                                                        What was the total payment for
                                                        <asp:Label ID="lb_name" runat="server" Text="Label"></asp:Label>
                                                        &nbsp;&nbsp;&nbsp;
                                                        <br />
                                                        during this period?</td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        &nbsp;</td>
                                                    <td>
                                                        &nbsp;</td>
                                                    <td style="text-align: center">
                                                        <asp:TextBox ID="tb_fee" runat="server" CssClass="txtForm"></asp:TextBox>
                                                    </td>
                                                    <td>
                                                        &nbsp;</td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        &nbsp;</td>
                                                    <td>
                                                        &nbsp;</td>
                                                    <td align="center">
                                                        <table align="center">
                                                            <tr>
                                                                <td>
                                                                    <asp:LinkButton ID="LinkButton1" runat="server" CssClass="button2_ok" 
                                                                        ForeColor="White" OnClick="LinkButton1_Click"><span>Search</span></asp:LinkButton>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                    <td>
                                                        &nbsp;</td>
                                                </tr>
                                            </table>
                                        </asp:Panel>
                                    </td>
                            </tr>
                        </table>
                        
                        <br />
                    
                   
    </td>
    </tr>
    <tr>
        <td class="style6">   &nbsp;</td>
    </tr>
        
                                
        
                                
                          
        
     
    
                                
                           
          
    
        
     
    
    </table>
</asp:Content>


<asp:Content ID="Content2" runat="server" contentplaceholderid="head">
    <style type="text/css">
        .style3
        {
            width: 143px;
            text-align: left;
        }
        .style4
        {
            width: 120px;
            text-align: left;
            
        }
        .style5
        {
            width: 120px;
            text-align: left;
            margin-left: 120px;
        }
        .style6
        {
            width: 1048px;
        }
        .style7
        {
            font-weight: normal;
            color: blue;
            font-size: small;
        }
        .style9
        {
            font-weight: normal;
            color: blue;
            font-size: x-small;
        }
/*.ajax__tab_header{color:#909090;background-color: #FFFFFF; }
.ajax__tab_body{background-color:#FFFFFF; border: 1px solid #EAEAEA; padding:5px; list-style-type:none; font-size: 20px;}
.ajax__tab_default .ajax__tab_inner {height:100%;background-image:url("../img/boton.gif") repeat-x;}
.ajax__tab_default .ajax__tab_tab {height:100%;font-size:17px;}

.ajax__tab_xp2 .ajax__tab_header {font-family:verdana,tahoma,helvetica; border:2 solid #000000; font-size:11px;}
.ajax__tab_xp2 .ajax__tab_outer {padding-right:4px;background:url(WebResource.axd?d=enSUOcaa7DLBDplOv1agOWCbl483FKJyVuuGamtrdbsYLV5lPgufcLNwW9J6abY1yrs7q_zNUWaBBHgGRYOHKQ2&t=633167421400000000) no-repeat right;height:21px;}
/*.ajax__tab_xp2 .ajax__tab_inner {padding-left:3px;background:url(WebResource.axd?d=enSUOcaa7DLBDplOv1agOWCbl483FKJyVuuGamtrdbsYLV5lPgufcLNwW9J6abY133ijxBIREEOoObFED_Bhzw2&t=633167421400000000) no-repeat;}
.ajax__tab_xp2 .ajax__tab_tab {height:13px;padding:4px;margin:0;background:url(WebResource.axd?d=enSUOcaa7DLBDplOv1agOWCbl483FKJyVuuGamtrdbv_dPXVoiLJ4geaEoszM6Zx7A4pJ2521Vwp4VsPeLe2fQ2&t=633167421400000000) repeat-x;}
.ajax__tab_xp2 .ajax__tab_hover .ajax__tab_outer {background: no-repeat right;}
.ajax__tab_xp2 .ajax__tab_hover .ajax__tab_inner {background:url("../img/boton.gif") no-repeat;}
.ajax__tab_xp2 .ajax__tab_hover .ajax__tab_tab {background:url("../img/boton.gif") repeat-x;}
.ajax__tab_xp2 .ajax__tab_active .ajax__tab_outer {background:url(WebResource.axd?d=enSUOcaa7DLBDplOv1agOWCbl483FKJyVuuGamtrdbsYLV5lPgufcLNwW9J6abY11YFCEA-F1KrZBMAZZJHpInefUOk0Ib7CmvpoDZVzyh41&t=633167421400000000) no-repeat right;}
.ajax__tab_xp2 .ajax__tab_active .ajax__tab_inner {background:url(WebResource.axd?d=enSUOcaa7DLBDplOv1agOWCbl483FKJyVuuGamtrdbsYLV5lPgufcLNwW9J6abY1jldUXO80Ye5rs84ruU2hGw2&t=633167421400000000) no-repeat;}
.ajax__tab_xp2 .ajax__tab_active .ajax__tab_tab {background:url(WebResource.axd?d=enSUOcaa7DLBDplOv1agOWCbl483FKJyVuuGamtrdbsYLV5lPgufcLNwW9J6abY1rn-Bcdsd-Psg-56pH8vCFg2&t=633167421400000000) repeat-x;}
.ajax__tab_xp2 .ajax__tab_body {font-family:verdana,tahoma,helvetica;font-size:10pt;border:none solid #999999;border-top:0;padding:8px;background-color:#ffffff;} */        
                
                </style>
    </asp:Content>







